import service from '@/utils/request'

const EmployApi = {
  addEmploy: function(data) {
    return service.post('employ', data)
  },
  editEmploy(data) {
    return service.put('employ', data)
  },
  deleteEmploy(data) {
    return service.put('employ/delete', data)
  },
  getEmployInfo(data) {
    return service.get('employ', {params: data })
  },

  // EmployMangenebt
  listEmploy(data) {
    return service.get('employ/page',{params: data});
  },

}

export default EmployApi
